package joonany.basic.j03;

public class J03_Expression20 {

	public static void main(String[] args) {
		
		int n = 1; int k = 2; int r = n;	if(k < n) r = k;
		System.out.println("가. n = " + n + "//k = " + k + "//r = " + r);
		n = 1; k = 2;  						if(k < k) r = k; else r = k + n;
		System.out.println("나. n = " + n + "//k = " + k + "//r = " + r);
		n = 1; k = 2;  r = k;				if(k < n) n = r; else k = n;
		System.out.println("다. n = " + n + "//k = " + k + "//r = " + r);
		n = 1; k = 2;  r = 3;				if(k < n + k) r = 2 * n; else k = 2 * r;
		System.out.println("라. n = " + n + "//k = " + k + "//r = " + r);
			
	}

}
